package po;

import java.io.Serializable;

@SuppressWarnings("serial")
public class CourseAssistPO implements Serializable {

	/**
	 * @param args
	 */
	String courseID;
	String courseOutline;
	String textbook;
	String referenceBook;
	
	public CourseAssistPO(String cID,String co,String tb,String rb){
		courseID = cID;
		courseOutline = co;
		textbook = tb;
		referenceBook = rb;
	}
	public String getCourseID(){
		return courseID;
	}
	public String getCourseOutline(){
		return courseOutline;
	}
	public String getTextbook(){
		return textbook;
	}
	public String getReferenceBook(){
		return referenceBook;
	}		
	public String getCollegeID(){
		return courseID.substring(0,3);
	}
	@Override
	public String toString() {
		return "CourseAssistPO:\r\ncourseID=" + courseID + "\r\ncourseOutline="
				+ courseOutline + "\r\ntextbook=" + textbook + "\r\nreferenceBook="
				+ referenceBook;
	}

}
